Self-tuning UDF Cost Modeling Using the Memory-Limited Quadtree
نویسندگان
چکیده
Query optimizers in object-relational database management systems require users to provide the execution cost models of user-defined functions(UDFs). Despite this need, however, there has been little work done to provide such a model. Furthermore, none of the existing work is self-tuning and, therefore, cannot adapt to changing UDF execution patterns. This paper addresses this problem by introducing a self-tuning cost modeling approach based on the quadtree. The quadtree has the inherent desirable properties to (1) perform fast retrievals, (2) allow for fast incremental updates (without storing individual data points), and (3) store information at different resolutions. We take advantage of these properties of the quadtree and add the following in order to make the quadtree useful for UDF cost modeling: the abilities to (1) adapt to changing UDF execution patterns and (2) use limited memory. To this end, we have developed a novel technique we call the memory-limited quadtree(MLQ). In MLQ, each instance of UDF execution is mapped to a query point in a multi-dimensional space. Then, a prediction is made at the query point, and the actual value at the point is inserted as a new data point. The quadtree is then used to store summary information of the data points at different resolutions based on the distribution of the data points. This information is used to make predictions, guide the insertion of new data points, and guide the compression of the quadtree when the memory limit is reached. We have conducted extensive performance evaluations comparing MLQ with the existing (static) approach.
منابع مشابه
Regression-Based Self-Tuning Modeling of Smooth User-Defined Function Costs for an Object-Relational Database Management System Query Optimizer
We present a new approach to modeling the execution costs of user-defined functions (UDFs) for the query optimizer of an object-relational DBMS (ORDBMS). Our approach self-tunes a cost model incrementally based on the costs of the recent executions of a UDF. The approach is centered on a feedback loop in which the feedback information comprises individual UDF execution records. Each execution r...
متن کاملHysteresis Modeling, Identification and Fuzzy PID Control of SMA Wire Actuators Using Generalized Prandtl-Ishlinskii Model with Experimental Validation
In this paper, hysteretic behavior modeling, system identification and control of a mechanism that is actuated by shape memory alloy (SMA) wires are presented. The mechanism consists of two airfoil plates and the rotation angle between these plates can be changed by SMA wire actuators. This mechanism is used to identify the unknown parameters of a hysteresis model. Prandtl–Ishlinskii method is ...
متن کاملModeling of self-assessment system of covid-19 disease diagnosis using Type-2 Sugeno fuzzy inference system
Due to the continuation of the pandemic of Coronavirus in the whole world, the number of deaths has reached over one million, based on the World Health Organization reports. Early diagnosis of the illness can be great assistance in order to break the chain of disease transmission. Nowadays, COVID-19 test kits are so limited in numbers, and expensive in terms of cost, which slows down the diagno...
متن کاملModeling the Effects of Geometric Asymmetry on Aero-heating of the Ablative Noses
noses by using the equivalent axisymmetric body (EAB) theory. This Code has been developed by researchers and the results of it have been validated by the various flight tests results. In the case of non-zero angle of attack or asymmetric surface ablation for each meriodinal plane, the equivalent meriodinal plane (EMP) is created for any meriodinal plane. The combinations of these planes consti...
متن کاملLazy learning for control design
This paper presents two local methods for the control of discrete-time unknown nonlinear dynamical systems, when only a limited amount of input-output data is available. The modeling procedure adopts lazy learning, a query-based approach for local modeling inspired to memory-based approximators. In the first method the lazy technique returns the forward and inverse models of the system which ar...
متن کامل